$(document).ready(function() {
		initialize();
});

function initialize() {
		var myOptions = {
			center: new google.maps.LatLng(53.20880845972344, -2.891550064086914),
			zoom: 14,
			mapTypeId: google.maps.MapTypeId.ROADMAP
			};
		var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

		var image = new google.maps.MarkerImage('images/www/pin.png',
		// This marker is 129 pixels wide by 42 pixels tall.
		new google.maps.Size(30, 23),
		// The origin for this image is 0,0.
		new google.maps.Point(0,0),
		// The anchor for this image is the base of the flagpole at 18,42.
		new google.maps.Point(30, 23)
		);

		var marker = new google.maps.Marker({    
		position: new google.maps.LatLng(53.193392, -2.893075),    
		map: map,
		icon: image
		});
		
		var marker1 = new google.maps.Marker({    
		position: new google.maps.LatLng(53.20880845972344, -2.891550064086914),    
		map: map,
		icon: image  
		});
		
		// Add listener for a click on the pin
	    google.maps.event.addListener(marker1, 'click', function() {
	        infowindow1.open(map, marker1);
	    });
	 
	    // Add information window
	    var infowindow1 = new google.maps.InfoWindow({
	        content: createInfo('MEEY', '<br/>The Text Here <a href="http://www.meey.co.uk">Website</a>')
	    });
		
		// Create information window
	    function createInfo(title, content) {
	        return '<div class="infowindow"><strong>'+ title +'</strong>'+ content +'</div>';
	    }
	}